package com.fdb.efp.flow.service.dao;

import java.util.List;

import com.fdb.efp.flow.service.domain.BizFlowInfo;
import com.fdb.efp.flow.service.vo.BizFlowInfoVO;
/**
 * <p>DAO interface:业务流转信息				<p>
 * @author ligm
 * @date 2018-05-05
 */
public interface BizFlowInfoDao {
	
	public int insertBizFlowInfo(BizFlowInfo bizFlowInfo);
	
	public int deleteByPk(BizFlowInfo bizFlowInfo);
	
	public int updateByPk(BizFlowInfo bizFlowInfo);
	
	public BizFlowInfo queryByPk(BizFlowInfo bizFlowInfo);
	
	public List<BizFlowInfo> queryAllOwnerByPage(BizFlowInfoVO bizFlowInfo);
	
	public List<BizFlowInfo> queryAllCurrOrgByPage(BizFlowInfoVO bizFlowInfo);
	
	public List<BizFlowInfo> queryAllCurrDownOrgByPage(BizFlowInfoVO bizFlowInfo);

	public List<BizFlowInfo> queryBizFlowInfoByFlowType(BizFlowInfoVO bizFlowInfo);
	/**
	 * 根据查询条件 查询业务流转信息
	 * @param bizFlowInfoVO 查询条件
	 * @return 业务流转集合
	 */
	List<BizFlowInfo> queryBizFlowByConditionByPage(BizFlowInfoVO bizFlowInfoVO);
}
